home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
10,000 Great Games
/
10,000 Great Games.iso
/
Product
/
66
/
data1.cab
/
Source_Files
/
Src
/
Falling.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
2000-01-16
|
357b
|
25 lines
#include "stdafx.h"
cFalling::cFalling(int _x, int _y, cProperties *_orig)
: cWeapon(_x, _y, _orig, "MOVING")
{
}
cFalling::~cFalling()
{
}
int cFalling::control()
{
if (explode)
return FALSE;
make_trail();
cWeapon::control();
bounce_on_boundaries();
return !check_radial_hit_one(circle_bounds) && !in_water();
}